package com.example.demo.service;

import com.example.demo.entity.Stu;
import com.example.demo.mapper.StuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class StuServicesImp implements StuServices {

    @Autowired
    StuMapper stuMapper;


    @Override
    public ArrayList<Stu> getAll() {
        return stuMapper.getAll();
    }
}
